
package at.fhj.itm.metadata.impl.postgres;

import at.fhj.itm.metadata.MetadataItem;
import at.fhj.itm.metadata.impl.AbstractSqlType;

/**
 *
 * @author Seuchter
 */
public class PostgresSqlDataType extends AbstractSqlType {
    private long oid;



    public PostgresSqlDataType(String name){
        this(name, -1, false, -1);
    }

    public PostgresSqlDataType(String name, int length, boolean  isArray, long oid){
        super(name, length, isArray);
        this.oid = oid;
    }

    public long getOid()
    {
        return oid;
    }

    public String getTypePostfix()
    {
        return "";
    }

    public PostgresSqlDataType copy(){
        return new PostgresSqlDataType(getName(), getSize(), isArray(), -1);
    }



 


}
